package com.java.yz.day02;

public class SanMuOptDemo01 {
    public static void main(String[] args) {
        //获取三个数的最大数
        int a=10;
        int b=20;
        int c=30;
        int max=(a>b)?((b>c)?b:c):((a>c)?a:c);
        System.out.println(max);
    }
}
